package com.stars.home.adapter.baidu;

import com.baidu.mapapi.search.core.PoiInfo;
import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder;
import com.stars.home.R;
import com.stars.home.databinding.ItemSearchDataBinding;
import com.trailer.base.base.BAdapter;

import org.jetbrains.annotations.NotNull;

public class SearchDataAdapter extends BAdapter<PoiInfo, BaseDataBindingHolder<ItemSearchDataBinding>> {


    public SearchDataAdapter() {
        super(R.layout.item_search_data, null);

    }

    @Override
    protected void convert(@NotNull BaseDataBindingHolder<ItemSearchDataBinding> helper, PoiInfo item) {


        ItemSearchDataBinding binding = helper.getDataBinding();
        binding.setItem(item);
//        ItemCarChoseBinding binding = helper.getDataBinding();
//        binding.setItem(todo);
//        binding.setVm(vm);


    }
}
